package com.ruoyi.business.domain.koc;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ruoyi.common.core.domain.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;


@Data
@EqualsAndHashCode(callSuper = true)
@TableName("tb_user_baby")
@ApiModel("用户宝宝")
public class TbUserBaby extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 我的宝宝主键
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "主键id")
    private Long id;

    /**
     * 用户id
     */
    @TableField("user_id")
    @ApiModelProperty(value = "用户id")
    private Long userId;

    /**
     * 宝宝昵称
     */
    @TableField("nickname")
    @ApiModelProperty(value = "宝宝昵称")
    private String nickname;

    /**
     * 性别
     * 0：男、
     * 1：女、
     * 2：未知
     */
    @TableField("gender")
    @ApiModelProperty(value = "性别\n" +
        "* 0：男、\n" +
        "* 1：女、\n" +
        "* 2：未知")
    private Integer gender;

    /**
     * 宝宝生日
     */
    @TableField("birthday")
    @ApiModelProperty(value = "宝宝生日")
    private String birthday;

    /**
     * 宝宝状态 0:未出生 1:已出生
     */
    @TableField("status")
    @ApiModelProperty(value = "宝宝状态 0:未出生 1:已出生")
    private Integer status;

    /**
     * 备注
     */
    @TableField("remarks")
    @ApiModelProperty(value = "备注")
    private String remarks;

}
